package com.example.wengwyue.patientapplication.activity;

import android.os.Bundle;
import android.support.v4.app.FragmentTransaction;

import com.example.wengwyue.patientapplication.R;
import com.example.wengwyue.patientapplication.fragment.RegisterVerifyPhoneFragment;
import com.hospital.common.ui.base.ToolbarActivity;

/**
 * 注册页
 */
public class RegisterActivity extends ToolbarActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.layout_fragment_container);

        setTitle("注册");

        FragmentTransaction f = getSupportFragmentManager().beginTransaction();
        f.add(R.id.fragment_container, new RegisterVerifyPhoneFragment());
        f.commit();
    }
}
